/*
 * @Author: 梁青春
 * @Date: 2022-04-22 13:47:08
 * @LastEditTime: 2022-04-22 15:07:51
 * @LastEditors: 梁青春
 */
import http from '@/https/httpsRequest'
const user = {
    // 获取验证码
    adornUrl(uuid) {
        return `${http.adornUrl(`/captcha.jpg?uuid=${uuid}`)}`
    },
    // 登录
	login(data) {
		let params = {
			method: 'post',
			url: `/app/login`,
			data: JSON.stringify(data)
		}
		return http(params)
	},
}
export default user